package com.aabte.design2.structural.facade;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/3
 */
public class CodecFactory {
    public String extract(VideoFile videoFile) {
        return videoFile.getFileName().substring(videoFile.getFileName().lastIndexOf(".") + 1);
    }
}
